MMultiLineLabel – A small panel with text.
Creation: MMultiLineLabel_New(caption$, alignment, x, y, pixelwidth, pixelheight)
caption$ - Label text.
alignment – Text alignment 0=center 1=left 2=right.
x – Pixel X coordinate for the top left corner of the label.
y – Pixel Y coordinate for the top left corner of the label.
pixelwidth – The width of the label in pixels.
pixelheight – The height of the label in pixels.
Functions:
MMultiLineLabel_Delete(index)
Deletes the label.
MMultiLineLabel_Draw(index)
Draws the label to screen.
MMultiLineLabel_SetText(index, text$)
Sets the text on the label. Ascii char 10 is new line.
MMultiLineLabel_SetTextColor(index, color)
Sets the text color on the label.